SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6e3caa4197ee5e01926fd5d7b78da707db9e9780710c6cddc5ce3010a2c46b1d' 
  AND token = 'KP7OtqTMd7MLfjpavGd0qAyZQtgOHyKb6KUjm3OVYZ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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