SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c2d1c40c6a0f763a7afaf443667f00f4df80354965598b50c11cb2014f719db' 
  AND token = 'fXxF7w4H09ETSF+619qMe8za2be2ZBal6YVlA60vZ5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00070

JSON explain

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