SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31bf838eb7e3b45109fdf9353513de9c885e3cb82158b6d65b41651a7ca8376c' 
  AND token = 'sFcQTedV8YYqF7/kmOPYcF2d0Ho5x3nNLdwhAfyD/Us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}