SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d342c360db23ef0dc29bbc60cd121136d8cf7346294814d07d82f92aed979cf' 
  AND token = 'K+1miqhEGdznm8j9QWGd4u7KUziH3glsrZvmQONig1E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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