SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51bab1df177172b4392a23f23a68c5c733485683f84c123a6e13203c50ecb7e3' 
  AND token = 'Q0IzFLyC/Bujn08uVtP6K5vlKGq1uwv3n3yCbjdh8rA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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