SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c83f98e3df0f767d0010069140fd65df7fc991cc8fb82e9da5727c725fbb04f' 
  AND token = 'ODP7JYQ13tr+E36TD2S0lG1Fw3fq/WEFPAMxsq5+5Yo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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