SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42ba136802b35cf3a084954e6a299e1231166f0ee7d4430de59128566fa6a912' 
  AND token = 'u7VQIZrOMoEUSnTYa8E8g/jdkx8PGK3wZruSlxitCbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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