SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '311196773da4bd02fa13a2e725f81f0be25a8d84c1aad6acec9a4f9e54193804' 
  AND token = 'SrZg0i5R4uP2/YMapdPIvEl+IfSLMKxSaS/MVZYXgt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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