SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30cef8c089272c2c5d8672b406aed6d877e33804f0dcc35e03e388716cf6cfca' 
  AND token = 'BIh2f/xl369pI4Mbc7ZDCpPMqi48WLkC43m1AVQvLnA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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