SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf51470d7111ff07412e1b76a7ea321c6dc037c70d0440c35864e590828cf98d' 
  AND token = 'hUT42IoqxkVfGhkF1lw6okxGHK47V6G9gbNhNxj3y/0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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