SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17337886dacb33edc487426b0b4583970dc8cf7decd5496606ea82be6ff8539a' 
  AND token = 'pek55m0YkzqE9UbOAq4OPaTq41HoLFYSWX43RaknJ7o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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