SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '507aa4eeafd7f38d6722c5559172f50c917cbb907509569412c3c261aa7c6d41' 
  AND token = 'qVlq/4pq87y4hx+9Ms8YZbzp/NMKuoP+sSztqyxKKq0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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