SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4d7934bedef55501daaae10510b92cfeb427a92253d957bd9640c8b43e63163' 
  AND token = 'hiVQtV8asD7fNFa6eP4FCgi47rGRoUDqhZvYrTvsXOA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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