SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c12b4fbb1a3994539e813e2453374ff6c3b6679af3e472793ec95c115b4e26c0' 
  AND token = 'pR6u3k60DOb2kjJFV2W3dNvVp/q7UMnY8khr1kUp2Y8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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