SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2d1c0b117c955c0965e8a5ae97454070cb02ae2d0ea40144442253602baca9f' 
  AND token = 'YlikaTufA/A2uxGa8UOwBxdaFMyly9cfdSs6mSkP1d0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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