SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '197573f05807be2da091190c917cf17cab5237db2b8b8e661da01eaf28db040c' 
  AND token = '13OW2L9QtSwGnEGipnOgXlq5H65SwCO2GKxf414Z/UY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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