SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '463d1ead429362765b74044b5b5b310ca682e1fd067a172b25b13fe1dd7bcb83' 
  AND token = 'ri/H8Y3P1eSJirvTzJvfPSb6xENCOMqGXLHaMc3QeQ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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