SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6974fb3087e3952ba7b42ab44c1054b8e8b8df9932addb780840265f482a019a' 
  AND token = 'yQTFiiMzdZ4QlhhmI0HSRhQFGqgRO5+Ixz0HLR8Y+K4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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