SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03af0010373710c4c9d0287da7db8d1a392df74f5beafcce183f46d09b773f36' 
  AND token = 'Wjgwly8upLDTLir7ZoKeGLeFGBSCbUFMTpcRbX8rYLA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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