SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a1eb7b987af161636a1c39e4cf486aee4e2c8250fefd35ef973001bf214e20e' 
  AND token = '5TrwPs6DuEgl4WKMgX3C1/dk+pPVHLU9YdIMSkQf24g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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