SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23aa291e4149e7f8040d417514ddd8c5e8ce4998055566d32f7a68197eee998e' 
  AND token = 'yCuT3cOYFDBbGmA4/AkI8frhmYahlhNxrTsajpbXXt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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