SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21d78a736c8606977ebe78a1a06c3f524de612e24b769e779c788917dfc30a5b' 
  AND token = 'ZpmlEruGGFstiSODx0C0uGy/HmshHDxGNU+BhnzQORk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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