SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a99c163e595227d39319aeb218656666f83833cf2600e2c7ecc2d20fc43aa638' 
  AND token = 'wmD6p4ExlWp4LEBKWYDm8EfrrHCwn3HEg5p8+Jp2LI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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