SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b5d8e820975a912890f55e46d2a0c402e8901f1b022ab44caa87a0dd1220729' 
  AND token = 'mygO4qvVVnH1WPLo2rXamg+r3XuUKI6Cx3tVLEgJEBE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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