SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d1d432c4f547fc89d112f94f9dba67f17ff7a41dbcebdfa26e1dbd02e6224fe' 
  AND token = 'T3vkmwny7HE/SswaQbOaRwqpMilYr2YBpsoN4dIVdgE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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