SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f9fb6ff3549b93cb8b509b3e87d713eff44d56a170bf20660649ad554520dc3' 
  AND token = 'YGx0is2+Su9OnZzfcbG5U3No3Wc/T7drLOSJZxCWQqA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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