SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc38b23d50be0d0518a9eeea12eb155074aa742cd66228dbe0f1fe1256561ec5' 
  AND token = 'o/TkRh3F1us7bHPP5FPUu63a1UuMEy5r+Ln55mPIhKw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}