SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '451745abf9660aa0bf02fc600f9246ea26ead558a3db368a060d0ab4d774047a' 
  AND token = 'XuY/n44PGKgCnu7DKBbh6hy+bbIv1aOiBTh+sc79lCA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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